﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Domain.Entity
{
    /// <summary>
    /// 盘点明细表
    /// </summary>
    [SugarTable("examine_detail")]
    public class examine_detail
    {
        /// <summary>
        /// 盘点明细主键id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "盘点明细表id")]
        public string baldetail_id { get; set; }

        /// <summary>
        /// 盘点明细编号
        /// </summary>
        [SugarColumn(ColumnDescription = "盘点明细编号", Length = 50)]
        public string? baldetail_code { get; set; }

        /// <summary>
        /// 物品编号
        /// </summary>
        [SugarColumn(ColumnDescription = "物品编号", Length = 50)]
        public string? baldetail_goodscode { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        [SugarColumn(ColumnDescription = "库存")]
        public int baldetail_sumnumber { get; set; }

        /// <summary>
        /// 盘点数量
        /// </summary>
        [SugarColumn(ColumnDescription = "盘点数量")]
        public int baldetail_examinenumber { get; set; }

        /// <summary>
        /// 盘点结果
        /// </summary>
        [SugarColumn(ColumnDescription = "盘点结果")]
        public bool baldetail_result { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", Length = 500)]
        public string? baldetail_remarks { get; set; }
    }
}
